home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
wildcat
/
avwrun11.zip
/
AVIEWRUN.DOC
next >
Wrap
Text File
|
1992-07-25
|
4KB
|
90 lines
╔════════════════════════════════════════════════════════════════════════════╗
║ * (504) 634-5368 * * (409) 796-1421 * ║
║ * 2400/14400 * ┌─────┐ ┌───┐ ┌─────┐ ┌──────┐ * 2400/14400 * ║
║ * 24/HRS * │ ┌───┘ └┐ ┌┘ │ ┌─┐ │ │ ┌──┐ │ * 24/HRS * ║
║ │ └─┐ │ │ │ │ └─┘ │ └──┘ │ ║
║ Sysop: Bill Isaacson │ ┌─┘ │ │ │ │ ┌─┐ │ ┌──┐ │ Sysop: Danny Love ║
║ (504) 634-5618 │ │ ┌┘ └┐ │ └─┘ │ │ │ │ │ (409) 796-1270 ║
║ * RESOURCE BBS * └─┘ └───┘ └─────┘ └─┘ └─┘ * RESOURCE BBS * ║
║ ║
║ Feliciana Innovative Computer Associates ║
║ Rt 1 Box 8-J Hwy 421 ║
║ Jackson, LA 70748 ║
╚════════════════════════════════════════════════════════════════════════════╝
AVIEWRUN - A Friendly Front End for AVIEWCOM
by
Danny Love
One of the issues when using AVIEWCOM, is when a local login is made
to the Wildcat board and AVIEWCOM was used to view a file, it was
unable to properly handle the request and just looped back to the BBS.
This forced the sysop to drop the board every time he chose to view
an archived file. As a result, this utility, AVIEWRUN, was written.
This utility will open the file DOOR.SYS in the current directory and
determine whether line 1 contains COM0: and whether line 20 contains
NG. The program was written to deal with AVIEWCOM.EXE for local
access and to make the video question go away for the caller as well
as the local user. This program will invoke the program AVIEWCOM.EXE
and pass to it automatically -a0 or -a1 depending upon whether
DOOR.SYS contains NG or GR on line 20. The port information that is
passed to AVIEWCOM.EXE comes from line 1 in DOOR.SYS. If the DOOR.SYS
file is not found, then this program checks for the existence of the
environment variable WCPORTID and uses it for the COM parameter
building.
When using this program while logged in locally, it will also pass to
AVIEWCOM.EXE the -d parameter. This will disable local downloading
and prevent the PC from freaking out. When AVIEWCOM.EXE finishes,
this program will remove the file AVIEWCOM.STD if it exists.
The usage of this program is:
AVIEWRUN %1 [switches]
The value [switches] should be replaced by any switches other than
-a(x) that you would normally pass to AVIEWCOM.EXE. This program
requires that AVIEWCOM.EXE be available through the PATH environment
variable and that WCPORTID be defined properly. When building the
arguments for AVIEWCOM.EXE, this program will check for the existence
of the environment variables WCIRQID and WCBASEID. If they are
available, then this program will supply the arguments -b and -i to
AVIEWCOM.EXE in an appropriate manner. All other arguments for
AVIEWCOM.EXE that are desired must be specified.
For those who are interested in return values, this program provides
the following return values:
If COM0: & NG - 0
If COM0: & GR - 1
If COMx: & NG - 2
If COMx: & GR - 3
If DOOR.SYS is not found - 2
If unable to determine port - 2
If you find this program to be of use, filling out and returning the
enclosed AVIEWRUN.FRM, along with a contribution of $5 would be
greatly appreciated.
Danny Love
Rt 6 Box 459R
Beaumont, Texas 77705
Technical Support:
Comments and suggestions about AVIEWRUN are welcome. Please feel free
to call and leave your comments and suggestions on:
FICA - Resource BBS!
(409) 796-1421 Sysop - Danny Love
(504) 634-5368 Mail is checked and will be received.